<?php if($user){ ?>
<h1><span class="ico_signin"></span><?= lang('label_reset_password') ?></h1>

<ul class="breadcrumb">
    <li><a href="<?= base_url() ?>"><?= lang('label_home') ?></a></li>
    <li><?= lang('label_reset_password'); ?></li>
</ul>


<div class="page">
    <form class="forms3 inside_5" action="<?php echo current_url() ?>" method="post">
<input type="hidden" name="code" value="<?= $user->confirm_code ?>" />
        <br /><br /><br />
        <div class="text">
            <label for="username"><?php echo lang('label_email') ?> :</label>
            <samp>
                <input type="text" name="email" id="email" placeholder="<?php echo lang('email') ?>" value="<?= ($user->email) ?>" readonly="" />
            </samp>
        </div>
        <div class="text">
            <label for="password"><?php echo lang('label_password') ?> :</label>
            <samp>
                <input type="password" name="password" id="password" placeholder="<?php echo lang('label_password') ?>" value="<?= form_val('password') ?>" />
            </samp>
        </div>
        
        <div class="text">
            <label for="confpassword"><?php echo lang('label_confpassword') ?> :</label>
            <samp>
                <input type="password" name="confpassword" id="confpassword" placeholder="<?php echo lang('label_confpassword') ?>" value="<?= form_val('confpassword') ?>" />
            </samp>
        </div>

        <div class="submit">
            <input name="submit" value="<?= lang('label_save') ?>" type="submit" />
        </div>

        <br /><br /><br /><br /><br /><br /><br /><br /><br />
    </form>
</div>
<?php } ?>